<?php
$did = $_GET['id'];
// $_GET['openid'] = 'o3eaus6PSrb7iEjqZ__Mtq_
        $fire_title = '开火做饭活动';
        $in_title = '室内亮度活动';
        $wc_title = '卫生间亮度活动';

    ?>
    <style media="screen">
      td , span {font-size:24px;word-wrap: break-word;}
    </style>
<!-- <link rel="stylesheet" href="http://www.laoyou1.me/version1.2/css/custom.css" /> -->
<table width="100%" height="5"  border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td></td>
    </tr>
</table>
<div class="bdcolor">
      <table width="100%" height="24" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td background="images/dh_back_1.gif">&nbsp;&nbsp;</td>
        <td background="images/dh_back_1.gif">&nbsp;&nbsp;</td>
      </tr>
    </table>

<div class="max_header">


    <link rel="stylesheet" href="/css/custom.css" />
    <div class="header" style="height:300px">
        <div class="headinfobox" style="">
            <div class="column" style="border:0px solid red;">
                <div style="width:150px;height:200px;border:0px solid red;text-align:center;float:left;margin-left:65px;margin-top:65px">
                    <img id="imgs" src="" style="width: 150px; height: 150px; border-radius: 150px;">
                    <span style="text-align:center;color:#FFF;font-size:24px;"><?php echo $_GET['gatename'];?></span>
                    <!-- <span class="jrjl" style="font-size:0.8rem;border:0px solid red"></span> -->
                </div>
                <div  style="border:0px solid red;">

                    <span style="font-size:36px;font-weight:normal;color:#fff;position:relative;left:-90px;top:138px">今日记录</span>
                    <!-- <span class="jrjl" style="font-size:0.8rem;border:0px solid red"></span> -->
                </div>

                <div class="backhome" style="text-align:right;border:0px solid red;margin-top:0px;margin-right:20px">
                    <a href="/index.php">首页></a>
                </div>
                <div class="backhome" style="text-align:right;border:0px solid red;margin-top:160px;margin-right:20px">
                    <a href="/index.php?id=safehistory&gatename=<?php echo $_GET['gatename']?>&did=<?php echo $_GET['did']?>">历史记录></a>
                </div>
                <!-- <span class="jrjl" style="font-size:0.8rem;border:0px solid red"></span> -->



            </div>



        </div>
    </div>
<div class="main" style="width:100%">
  <div class="infobox" style="padding:15px 10px 0px 10px;">
<!-- <div class="" >
    <span class="infotitle" style="font-size: 14px;color:#FFF;float:left;font-weight:normal;border-bottom: 0px"><a href="/index.php" style="color:#FFF"><font style="font-size:20px">返回首页</font></a></span>
    <span class="infotitle" style="font-size: 14px;color:#FFF;float:right;font-weight:normal;border-bottom: 0px"><a href="/index.php?id=safehistory&gatename=<?php echo $_GET['gatename']?>&did=<?php echo $_GET['did']?>" style="color:#FFF"><font style="font-size:20px">历史记录</font></a></span>

</div>
<div class="columnpic" style="width:5rem;border:0px solid red;text-align:center;padding-top:50px">
    <img id="imgs" src="" style="width: 5rem; height: 5rem; border-radius: 100%;">
</div>

<span class="jrjl" ></span> -->

        <h2 class="infotitle" style="font-size: 30px;color:#FFF;text-align:center;font-weight:normal;"><img style="position:relative;left:-15px;width:25px;top:3px" src="/img/healthicon.png">健康</h2>
          <!-- <h2 class="infotitle" style="font-size: 24px;color:#FFF;text-align:center;font-weight:normal;"><img style="position:relative;left:-15px;width:25px;top:3px" src="/img/healthicon.png">健康</h2> -->




<!-- <br> -->
<style media="screen">
            [v-cloak] {
              display: none;
            }
            </style>
    <!-- <div ><img src="/img/health/bloodpressure.png" /><span style="padding-left:16px">血压心率</span></div> -->

    <div id="Bp_status" style="border:0px solid red;position:relative;display:none">
        <table style="float:left" border=0>
            <tr style="text-align:left;">
              <td width="150px" ><span class="blacktext" style="text-align:right;"><img style="position:relative;padding-right:5px;width:20px" src="http://www.laoyou1.me/version1.1/img/health/bloodpressure.png" />血压心率</span></td>
            </tr>

        </table>
        <div class="" style="clear:both">

        </div>
        <table border=0 style="float:left" >

            <tr style="text-align:left;">
                <td width="140px"></td>
                <td width="110px"><span style="color:#fff" class="fsize">测量时间</span></td>
                <td width="70px"><span style="color:#fff" class="fsize">高压</span></td>
                <td width="60px"><span style="color:#fff" class="fsize">低压</span></td>
                <td width="60px"><span style="color:#fff" class="fsize">心率</span></td>
            </tr>

            <tr id="bloodpressureInfo1" v-for="item in itemss" v-cloak align="left">
                <td align="left"><span class="graytext">昨日夜间</span></td>
                <td class="bluetext" class="fsize"><span>{{ item[0] | formatTime }}</span></td>
                <td class="bluetext" ><span class="{{item[4]}} fsize">{{ item[1] }}</span></td>
                <td class="bluetext"><span class="{{item[5]}} fsize">{{ item[2] }}</span></td>
                <td class="bluetext"><span class="{{item[6]}} fsize">{{ item[3] }}</span></td>
            </tr>
            <tr id="bloodpressureInfo1_no_data" v-for="item in itemss" v-cloak align="left">
                <td align="left"><span class="graytext">昨日夜间</span></td>
                <td id="bp1_nodata" class="" ><span class="bluetext">{{ item[0] | formatTime }}</span></td>
                <td class="bluetext" ><span class="{{item[4]}} fsize">{{ item[1] }}</span></td>
                <td class="bluetext" ><span class="bluetext fsize">{{ item[2] }}</span></td>
                <td class="bluetext" ><span class="bluetext fsize">{{ item[3] }}</span></td>
            </tr>
            <tr id="bloodpressureYesterInfo_Error" v-cloak align="left">
                <td style="position: relative; top:-24px"><span class="bluetext fsize">{{ items9 }}</span></td>
            </tr>
            <tr id="bloodpressureInfo" v-for="item in items" v-cloak align="left">
                <td v-if="$index==0" align="left"><span class="graytext">今日记录</span></td>
                <td v-else><span class="blacktext"></span></td>
                <td ><span class="bluetext">{{ item[0] | formatTime }}</span></td>
                <td><span class="{{item[4]}}">{{ item[1] }}</span></td>
                <td ><span class="{{item[5]}}">{{ item[2] }}</span></td>
                <td ><span class="{{item[6]}}">{{ item[3] }}</span></td>
            </tr>
            <tr id="bloodpressureInfo_no_data" v-for="item in items" v-cloak align="left">
                <td align="left"><span class="graytext">今日记录</span></td>
                <td class="bluetext" ><span class="bluetext">{{ item[0] | formatTime }}</span></td>
                <td class="bluetext" ><span class="{{item[4]}}">{{ item[1] }}</span></td>
                <td class="bluetext" ><span class="bluetext">{{ item[2] }}</span></td>
                <td class="bluetext" ><span class="bluetext">{{ item[3] }}</span></td>
            </tr>

        </table>

    </div>
    <div id="both_State" style="margin-top:10px;display:none;">
        <table border=0 style='float:left'>
            <tr class="bp_State" style="text-align:left;height:40px;display:none">
                <td width="140px" ><span class="blacktext" style="text-align:right;"><img style="position:relative;padding-right:5px;width:20px" src="http://www.laoyou1.me/version1.1/img/health/bloodpressure.png" />血压心率</span></td>
                <td><span class="bluetext" style="position:relative;top:5px">暂无数据</span></td>
            </tr>
            <div class="" style='clear:both'>

            </div>

            <tr class="mp_State" style="text-align:left;height:40px;display:none">
              <td width="140px" ><span class="blacktext" style="text-align:right;"><img style="position:relative;width:20px;padding-right:5px" src="http://www.laoyou1.me/version1.1/img/health/takepills.png" />吃药时间</span></td>
              <td><span class="bluetext">暂无数据</span></td>
            </tr>
        </table>
    </div>
    <div class="" style="clear:both">

    </div>
    <div id="Mp_status" style="display:none">
        <table border=0 style="float:left">
          <tr style="text-align:left;height:40px">
            <td width="140px"  ><span class="blacktext" style="text-align:right;"><img style="position:relative;width:20px;padding-right:5px" src="http://www.laoyou1.me/version1.1/img/health/takepills.png" />吃药时间</span></td>
            <td width="100px"></td>
          </tr>

            <tr id="takepillsInfo1"  v-for="item in itemss" v-cloak style="text-align:left;">
                <td v-if="$index==0"><span class="graytext">昨日夜间</span></td>
                <td v-else><span class="blacktext"></span></td>
                <td ><span class="bluetext" >{{ item | formatTime }}</span></td>
            </tr>
            <tr id="takepillsInfo1_no_data"  v-for="item in itemss" v-cloak style="text-align:left;">
                <td v-if="$index==0"><span class="graytext">昨日夜间</span></td>
                <td v-else><span class="bluetext"></span></td>
                <td ><span class="bluetext" >{{ item | formatTime }}</span></td>
            </tr>

            <tr id="takepillsInfo"  v-for="item in items" v-cloak style="text-align:left;">
                <td v-if="$index==0"><span class="graytext">今日记录</span></td>
                <td v-else><span class="blacktext"></span></td>
                <td ><span class="bluetext" >{{ item | formatTime }}</span></td>
            </tr>
            <tr id="takepillsInfo_no_data"  v-for="item in items" v-cloak style="text-align:left;">
                <td v-if="$index==0"><span class="bluetext">昨日夜间</span></td>
                <td v-else><span class="blacktext"></span></td>
                <td ><span class="bluetext" >{{ item | formatTime }}</span></td>
            </tr>

        </table>
        <!-- <div id="takepillsInfo_Error" v-for="item in items1" style="color:#fff;text-align:left;padding-left:40px">
            <span>
                {{ item[0] }}
            </span>
        </div> -->

    </div>
<div class="" style="clear:both">

</div>
  </div>


  <!-- 1px -->

        <div class="infobox" style="height:100px;border-top:10px solid #1f2c51;padding:10px 10px;position: relative; top:15px">
          <!-- <span>安全</span> -->
            <div class="" style="padding-right:20px">
                <h2 id="add" class="infotitle" style="font-size: 30px;color:#FFF;text-align:center;font-weight:normal;"><img style="position:relative;width:25px;top:4px;left:-13px" src="/img/dateicon.png">日常行为<span style="color:#FFF">
                  <img style="position:relative;left:0px;width:25px;top:4px;border-radius:25px;float:right;" src="http://www.laoyou1.me/version1.3/img/help.png"alt="">
                  <!-- <span style="float:right"><img style="position:relative;left:-15px;width:25px;top:9px;border-radius:25px;float:right;" src="/version1.3/img/help.png"alt=""></span> -->
                  <!-- <img style="position:relative;left:5px;width:25px;top:4px" src="http://image.tupian114.com/20140422/14072985.png"alt=""> -->
                </span></h2>
            </div>
        </div>
        <div class="infobox" style="height:140px;border:0px solid #1f2c51;padding:0px 10px;" onclick="kaihuo()">
            <div style="position: relative; top:0px;text-align:left;" ><img style='width:30px;' src="/img/safe/fire.png" /><span class="fsize">开火做饭<img id='inkaihuo' src="/img/xiajian.png" style="width:30px;position:relative;top:10px" alt=""></span></div>
            <div id="openfireChart1" style="height:60px;width:23%;display:inline;float:left;"></div>
            <div id="openfireChart" style="height:60px;width:75%;display:inline;float:left;"></div>
        </div>

        <!-- 1px -->
        <div  id="kaihuo" class="columncenter" style="text-align:left;display:none;padding:0px 0 0 10px;border:0px solid red;">

            <table border=0  width="370px" id="table2">
    <tr align="right" class="trheight">
        <td width="250"> <span style="color:#fff">开火时间</span></td>
        <td width="120"><span style="color:#fff">关火时间</span></td>

    </tr>
    <tr style="height:1px">
        <td></td>
    </tr>
    <tr class="trheight">
      <td><span class="graytext">昨日夜间</span></td>
    </tr>
    <tr id="openfireInfo1" class="trheight" v-cloak v-for="item in itemss" align="right">
        <td><span class="bluetext" style="position: relative; top:-29px;left:-30px">{{ item[0] | formatTime }}</span></td>
        <td><span class="bluetext" style="position: relative; top:-29px;left:-30px">{{ item[2] | formatTime }}</span></td>
        <!-- <td class="bluetext" style="position: relative; top:-22px;left:-20px">{{ item[2] | formatTime }}</td> -->
    </tr>
    <tr id="openfireInfo1_no_data" class="trheight" v-cloak v-for="item in itemss" align="right">
        <td><span class="bluetext" style="position: relative; top:-29px;left:0px">{{ item[0] | formatTime }}</span></td>
        <td><span class="bluetext" style="position: relative; top:-29px;left:0px">{{ item[2] | formatTime }}</span></td>
    </tr>

    <tr class="trheight">
      <td><span class="graytext" style="position: relative; top:-27px">今日记录</span></td>
    </tr>

    <tr id="openfireInfo" class="trheight" v-for="item in items" v-cloak align="right">
        <td><span class="bluetext" style="position: relative; top:-55px;left:-30px">{{ item[0] | formatTime }}</span></td>
        <td><span class="bluetext" style="position: relative; top:-55px;left:-30px">{{ item[2] | formatTime}}</span></td>
    </tr>
    <tr id="openfireInfo_no_data" class="trheight" v-cloak v-for="item in items" align="right">
        <td><span class="bluetext" style="position: relative; top:-55px;left:0px">{{ item[0] | formatTime }}</span></td>
        <td><span class="bluetext" style="position: relative; top:-55px;left:0px">{{ item[2] | formatTime}}</span></td>
    </tr>


</table>
            <!-- <sapn id="openfireInfo_Error" v-for="item in items1" style="color:#fff; padding-left:30px" >
                {{ item[0] }}
            </span> -->
        </div>
        <div class="infobox" style="height:100px;border:0px solid #1f2c51;padding:0px 10px;position: relative; top:-30px;display:none">
            <div style="position: relative; top:15px;text-align:left;"><img style='width:30px;' src="http://www.laoyou1.me/version1.3/img/safe/pepole.png" /><span class="ltitle">厨房活动</span></div>
            <div id="kitchenChart1" style="height:60px;width:23%;display:inline;float:left;"></div>
            <div id="kitchenChart" style="height:60px;width:75%;display:inline;float:left;"></div>
        </div>

    <!-- </div>
    <div class="main"> -->
    <!-- height:100px;marign-top:-10px;border:1px solid yellow;border-top:0px solid #1f2c51;padding:0px 10px;position: relative; top:-20px -->

        <div class="infobox" style="height:150px;border:0px solid #1f2c51;padding:0px 10px;position: relative; top:-20px">
            <div style="position: relative; top:0px;text-align:left;"><img style='width:30px;' src="http://www.laoyou1.me/version1.3/img/rest/light.png" /><span class="fsize"><?php echo $in_title; ?></span></div>
            <div id="lightChart1" style="height:60px;width:23%;display:inline;float:left;"></div>
            <div id="lightChart" style="height:60px;width:75%;display:inline;float:left;"></div>
        </div>
        <div class="infobox" style="height:115px;border:0px solid #1f2c51;padding:0px 10px;position: relative; top:-20px;display:none">
            <div style="position: relative; top:15px"><img style='width:3.5%;' src="http://www.laoyou1.me/version1.3/img/rest/pepole.png" /><span class="ltitle">室内活动</span></div>
            <div id="indooractivityChart1" style="height:60px;width:23%;display:inline;float:left;"></div>
            <div id="indooractivityChart" style="height:60px;width:75%;display:inline;float:left"></div>
        </div>
        <div class="infobox" style="height:115px;border:0px solid #1f2c51;padding:0px 10px;position: relative; top:-30px;display:none">
            <div style="position: relative; top:0px"><img style='width:30px%;' src="http://www.laoyou1.me/version1.3/img/rest/pepole.png" /><span class="ltitle">卫生间活动</span></div>
            <div id="toilet1" style="height:60px;width:23%;display:inline;float:left;"></div>
            <div id="toilet" style="height:60px;width:75%;display:inline;float:left"></div>
        </div>
        <?php
            $apple=[];
            $apple[0] = 'o3eaus6PSrb7iEjqZ__Mtq_kuNsU'; //姜
            $apple[1] = 'o3eaus0YpPcM62Xy15BvvFS-B4do'; //菲
            $apple[2] = 'o3eaus8lUvK0eiWB2n4iU1TAdeDs';  //陈
            ?>



            <div class="infobox" style="height:100px;border:0px solid #1f2c51;padding:0px 10px;position: relative; top:-47px;">
                <div style="position: relative; top:0px;text-align:left;"><img style='width:20px;' src="http://www.laoyou1.me/version1.3/img/rest/pepole.png" /><span class="fsize"><?php   echo $wc_title; ?></span></div>
                <div id="toiletlight1" style="height:60px;width:23%;display:inline;float:left;"></div>
                <div id="toiletlight" style="height:60px;width:75%;display:inline;float:left"></div>
            </div>


        <div class="infobox" style="height:105px;border:0px solid #1f2c51;padding:0px 10px;position: relative; top:-30px" onclick="kaimen()">
            <div style="position: relative; top:0px;text-align:left;"><img style="width:30px" src="http://www.laoyou1.me/version1.3/img/rest/door.png" /><span class="fsize">开门<img id='inkaimen' src="http://www.laoyou1.me/version1.3/img/xiajian.png" style="width:30px;position:relative;top:10px" alt=""></span></div>
            <div id="dooronoffChart1" style="height:60px;width:23%;display:inline;float:left"></div>
            <div id="dooronoffChart" style="height:60px;width:75%;display:inline;float:left"></div>
        </div>
        <div id="ondoor" class="columncenter" style="display:none;text-align:left;padding-left:10px;position: relative;top:0px">
          <a name="onemaodian"></a>

          <table border=0  width="370px" id="tb1">
                  <tr align="right" class="trheight">
                      <td width="250"> <span style="color:#fff">开门时间</span></td>
                      <td width="120"><span style="color:#fff">关门时间</span></td>
                  </tr>
                  <tr style="height:1px">
                      <td></td>
                  </tr>
                  <tr class="trheight">
                    <td><span class="graytext">昨日夜间</span></td>
                  </tr>
                  <tr id="dooronoffInfo1" class="trheight" v-cloak v-for="item in itemss" align="right">
                      <td><span class="bluetext" style="position: relative; top:-29px;left:-30px">{{ item[0] | formatTime }}</span></td>
                      <td><span class="bluetext" style="position: relative; top:-29px;left:-30px">{{ item[2] | formatTime }}</span></td>
                      <!-- <td class="bluetext" style="position: relative; top:-22px;left:-20px" >{{ item[2] | formatTime }}</td> -->
                  </tr>
                  <tr id="dooronoffInfo1_no_data" class="trheight" v-cloak v-for="item in itemss" align="right">

                      <td><span class="bluetext" style="position: relative; top:-29px;left:0px">{{ item[0] | formatTime }}</span></td>
                      <td><span class="bluetext" style="position: relative; top:-29px;left:0px">{{ item[2] | formatTime }}</span></td>
                  </tr>

                  <tr class="trheight">
                    <td style="position: relative; top:-27px"><span class="graytext">今日记录</span></td>
                  </tr>
                  <tr id="dooronoffInfo" class="trheight" v-cloak v-for="item in items" align="right">
                      <td><span class="bluetext" style="position: relative; top:-55px;left:-30px">{{ item[0] | formatTime }}</span></td>
                      <td ><span class="bluetext" style="position: relative; top:-55px;left:-30px">{{ item[2] | formatTime }}</span></td>
                  </tr>
                  <tr id="dooronoffInfo_no_data" class="trheight" v-cloak v-for="item in items" align="right">
                      <td><span class="bluetext" style="position: relative; top:-55px;left:0px">{{ item[0] | formatTime }}</span></td>
                      <td ><span class="bluetext" style="position: relative; top:-55px;left:0px">{{ item[2] | formatTime }}</span></td>
                  </tr>

              </table>
            <!-- <sapn id="dooronoffInfo_Error" v-for="item in items1" style="color:#fff;padding-left:30px" >
                {{ item[0] }}
            </span> -->
        </div>
<div class="" style="height:70px">

</div>

    </div>
    <div id="fire_alert" class="button custom-select" style="background: #304674;padding:5% 5%;color:white;text-align:center;display:none;border:2px solid white;">
        <span style="font-size:26px;">温馨提示</span>
        <div style="text-align:left;padding-left:20px;padding-right:20px">
            <p>1 横坐标范围：昨天下午6点-->当前时刻。</p>
            <p><img src="http://www.laoyou1.me/version1.3/img/charts.png" style="width:100%" alt=""></p>
            <p>2 蓝线&nbsp<span style="color:#0b8ad9;font-weight:900">|</span>：家人在走动。</p>
            <p>&nbsp&nbsp&nbsp红线&nbsp<span style="color:red;font-weight:900">|</span>：灶台火开着的时长。</p>
            <p>&nbsp&nbsp&nbsp亮度&nbsp<span style="color:#fa7729;font-weight:900">|</span>：颜色越深，表示越亮。</p>
            <p>&nbsp&nbsp&nbsp<img id='inkaimen' src="http://www.laoyou1.me/version1.3/img/xiajian.png" style="width:36px;position:relative;top:10px" alt="">：代表下拉菜单，具体的时间列表。</p>
            <!-- <p>&nbsp&nbsp&nbsp'v'：代表下拉菜单,具体的时间列表。</p> -->

            <br />
            <p>燕子智能会根据本家庭的活动规律，判断当日的活动是否符合。</p>
            <br />
            <p>对于具体的各项信息，用户可以根据自家的情况，解读具体的含义，比如早起出门锻炼，或者上午超市购物，晚上遛狗，十点关灯就寝等。</p>

        </div>
        <ul style="font-size:18px;width:75%;text-align:left;margin:0 auto;font-weight:bold;line-height:50px;border:0px solid pink">
        <li>
            <div style="text-align:center;">
                <!-- <input type="button" value="取消" class="feedbackbtn" style="width:40%;background:red" onclick="layer.closeAll();window.location.reload()" /> -->
                <input type="button" value="完成" class="feedbackbtn" style="width:40%;margin-left:10%;" onclick="$('#loading').css('overflow-y' , 'visible');layer.closeAll();" />
            </div>
        </li>
    </ul>
    </div>
    <script type="text/javascript" src="/js/jquery.min.js"></script>
    <script type="text/javascript" src="/js/vue/vue.min.js"></script>
    <script type="text/javascript" src="/js/vue/vue.filters.extend.js"></script>
    <script type="text/javascript" src="/js/common.js"></script>

    <script type="text/javascript" src="http://www.laoyou1.me/version1.3/js/layer/layer.js"></script>

    <script type="text/javascript" src="/js/safe.js?t=<?php echo time();?>"></script>
    <!-- <script type="text/javascript" src="/js/helps.js"></script> -->
    <!-- <script type="text/javascript" src="/js/rest.js"></script> -->
    <script type="text/javascript">
    function GetQueryString(name)
{
     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
     var r = window.location.search.substr(1).match(reg);
     if(r!=null)return  unescape(r[2]); return null;
}


$("#add").bind("click", function () {

//   var is = "温馨提示<br><br>1 横坐标范围：昨天下午6点-->当前时刻。<br>2蓝线：家人在走动。<br>&nbsp&nbsp红线：灶台火开着的时长。<br>&nbsp&nbsp亮度：颜色越深，表示越亮。<br>&nbsp&nbsp&nbsp'v'&nbsp&nbsp：代表下拉菜单,具体的时间列表。<br><br><br>燕子智能会根据各项数据自动计算出燕子指数，表明总体状况。<br><br>对于具体的各项信息，用户可以根据自家的情况，解读具体的含义，比如早起出门锻炼，或者上午超市购物，晚上遛狗，十点关灯就寝等。";
  var is = "<br>&nbsp&nbsp&nbsp<br><br><br><br><br>";
  var dat = [];
  dat.content = is;
  // new Vue({ el: '#fire_alert', data: { model: dat} });
//   layerShow('fire_alert');
layer.open({
      type: 1,
      title: false,
      closeBtn: 0,
      shade: 0,
    //   shade: [1, '#393D49'],
      shadeClose:true,
      scrollbar: false,
      fixed: false,
      border:0,
      area: '500px',
      offset: '20px',
      content: $('#fire_alert') //这里content是一个DOM，注意：最好该元素要存放在body最外层，否则可能被其它的相对元素所影响
});
// overflow-y:hidden
$('#loading').css('overflow-y' , 'hidden');
//   $.MsgBox.Alert("帮助", is);
});
        function kaimen(){
            if(document.getElementById("ondoor").style.display=="none"){
              document.getElementById("ondoor").style.display="";
              document.getElementById("ondoor").style.display="";
              location.href = "#onemaodian";
              var winH = $(window).height();
              $("#ondoor").css('height',winH/4+'px');
              // document.getElementById("inkaimen").value = '开门列表:收缩↑';
              document.getElementById("inkaimen").src = 'http://www.laoyou1.me/version1.3/img/shangjian.png';
              // document.getElementById("ondoor").style.aligns: 'left';
            }else{
              document.getElementById("ondoor").style.display="none";
              document.getElementById("inkaimen").src = 'http://www.laoyou1.me/version1.3/img/xiajian.png';
              // var winH = $(window).height();
              $("#ondoors").css('height','20px');
              // document.getElementById("inkaimen").value = '开门列表:展开↓';
            }
        }
        function chiyao(){
          if(document.getElementById("chiyao").style.display=="none"){
            // alert(23);
            document.getElementById("chiyao").style.display="";
            var winH = $(window).height();
            // console.log(winH);
            $("#chiyaos").css('height',winH+'px');
            // document.getElementById("ondoor").style.aligns: 'left';
          }else{
            document.getElementById("chiyao").style.display="none";
            // var winH = $(window).height();
            // console.log(winH);
            $("#chiyaos").css('height','200px');
          }
        }
        function chiyaos(){
          if(document.getElementById("chiyao").style.display!="none"){
              document.getElementById("chiyao").style.display="none";
              $("#chiyaos").css('height','200px');
          }
        }
        function xueya(){
          if(document.getElementById("xueya").style.display=="none"){
            // alert(23);
            document.getElementById("xueya").style.display="";
            var winH = $(window).height();
            // console.log(winH);
            $("#xueyas").css('height',winH+'px');
            // document.getElementById("ondoor").style.aligns: 'left';
          }else{
            document.getElementById("xueya").style.display="none";
            $("#xueyas").css('height','200px');
          }
        }
        function kaihuo(){

          if(document.getElementById("kaihuo").style.display=="none"){
            // alert(23);
            document.getElementById("kaihuo").style.display="";
            // location.href = "#onemaodian";
            var winH = $(window).height();
            $("#kaihuos").css('height',winH/4+'px');
            document.getElementById("inkaihuo").src = 'http://www.laoyou1.me/version1.3/img/shangjian.png';
            // document.getElementById("ondoor").style.aligns: 'left';
          }else{
            document.getElementById("kaihuo").style.display="none";
            document.getElementById("inkaihuo").src = 'http://www.laoyou1.me/version1.3/img/xiajian.png';

            $("#kaihuos").css('height','20px');
          }
        }


    </script>
</div>
</div>
<script type="text/javascript">

</script>
